{template 'common/header'}
<ul class="nav nav-tabs">
    {if $user} <li><a href="{php echo $this->createWebUrl('business', array('op' => 'dp','operation' => 'set'))}">个人设置</a></li>{/if}
    <li><a href="{php echo $this->createWebUrl('business', array('op' => 'dp','operation' => 'list'))}">店铺列表</a></li>
    <li class="active"><a href="#">评价管理</a></li>
</ul>
<div class="panel panel-default">
        <div class="panel-body table-responsive">
            <table class="table table-hover" ng-controller="advAPI" style="width:100%;" cellspacing="0" cellpadding="0">
                <thead class="navbar-inner">
                    <tr>
                        <th width="100">编号</th>
                        <th width="100">用户</th>
                        <th width="100">平均花费</th>
                        <th width="80">评价时间</th>
                        <!-- <th width="100" style="text-align:right">操作</th> -->
                    </tr>
                </thead>
                <tbody>
                    {loop $list $item}
                    <tr>
                        <td>{$item['id']}</td>
                        <td>{$item['realname']}</td>
                        <td>
                        <?php
                            $rank = unserialize($item['content']);
                            echo $rank['cost'];
                        ?>
                        元
                        </td>
                        <td>{php echo date('Y-m-d H:i',$item['createtime'])}</td>
                        <!-- <td style="text-align:right">
                            
                        </td> -->
                    </tr>
                    <tr>
                        <td colspan='4'><span>评价</span>&nbsp;&nbsp;&nbsp;<span>{$rank['contents']}</span></td>
                    </tr>
                    {/loop}
                </tbody>
            </table>
        </div>
    </div>
    {$pager}


{template 'common/footer'}